<template>
  <div class="trace_item">
    <el-timeline>
      <!-- <el-timeline-item timestamp="2018/4/12" placement="top" v-for="(item, index) in [1,2,3,4,5,6,7]" v-bind:key="index"> -->
      <el-timeline-item :timestamp="item.time" placement="top" v-for="(item, index) in traceList" v-bind:key="index">
        <el-card>
          <h4>{{item.content}}</h4>
          <p>操作于 {{item.time}}</p>
        </el-card>
      </el-timeline-item>
    </el-timeline>
  </div>
</template>

<script>
export default {
  props: ['traceList']
}
</script>

<style>

</style>